<?php
/**
 * +--------------------------------------------------------+
 * @Created by PhpStorm.
 * @Category CollectArticleService.php
 * @Depiction:
 * Author: hwy
 * Date: 2021/2/20  16:48
 * +--------------------------------------------------------+
 */

namespace App\Services;


use App\Models\CollectArticle;

class CollectArticleService extends BaseService
{
    protected $collect_article;

    public function __construct()
    {
        $this->collect_article = new CollectArticle();
    }

    public function addData($params)
    {
        return $this->collect_article->query()->insert($params);
    }

}
